<?php
class Model_DbTable_SiteInfo extends Apps_Db_Table_Abstract {
	protected $_name = 'site_info';

	const STATUS_ACTIVE 	= 1;
	const STATUS_INACTIVE 	= 0;

	//get vct info
	public function getSiteInfo() {
		$q = $this->_db
				  ->select()
				  ->from($this->_name)
				  ->where('status = 1')
				  ->columns(array('address'  => 'address',
		                          'address'  => 'address'));

 		return $q;
	}

	//LIST
	public function getList() {
		$q = $this->_db
				  ->select()
				  ->from($this->_name);
 		return $q;
	}
}